using System;

namespace CPlatePrintSys.Domain.Exceptions
{
    public class UserException : Exception
    {
        public UserException(string message) : base(message)
        {
        }

        public UserException(string message, Exception innerException) : base(message, innerException)
        {
        }
    }

    public class UserNotFoundException : UserException
    {
        public UserNotFoundException(string message = "用户不存在") : base(message)
        {
        }
    }

    public class UserAlreadyExistsException : UserException
    {
        public UserAlreadyExistsException(string message = "用户已存在") : base(message)
        {
        }
    }

    public class InvalidCredentialsException : UserException
    {
        public InvalidCredentialsException(string message = "用户名或密码错误") : base(message)
        {
        }
    }

    public class UserInactiveException : UserException
    {
        public UserInactiveException(string message = "用户账户已被禁用") : base(message)
        {
        }
    }
} 